xml.div(:class => "productlist") do
 xml.timestamp(Time.now)
 @products.each do |p| 
   xml.product do
    xml.productname(p.title)
    xml.price(p.price,:currency => "USD")
    end
 end
end
